﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DynamicProxy.Test
{
    public class Student
    {
        /// <summary>
        /// 学生回答问题
        /// </summary>
        /// <param name="words"></param>
        [CheckQuestion]
        [BeforeAnswer]
        [AfterAnswer]
        public virtual void Answer(string words)
        {
            Console.WriteLine("Student :" + words);
        }
    }
}
